<include file="public@header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:url('customer/index')}">客户列表</a></li>
			<li class="active"><a>接单量</a></li>
		</ul>
		<form method="post" class="form-horizontal js-ajax-form margin-top-20" action="{:url('customer/edit')}">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>名称</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" value="{$row.name}" readonly>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>出货量（总计未发货/MT）</label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" name="shipment" value="{$row.shipment}">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="form-required">*</span>出货量控制</label>
				<div class="col-md-6 col-sm-10">
					<select class="form-control" name="switch">
						<option value="1" <if $row.switch == 1>selected</if>>开</option>
						<option value="0" <if $row.switch == 0>selected</if>>关</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<input type="hidden" name="id" value="{$row.id}" />
					<button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
				</div>
			</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>